#include <stdio.h>
#include "../../src/gtthread.h"

char g_str[] = "hello world\n";

void* worker(void* arg)
{
	printf((char*)arg);
}

int main()
{
	gtthread_t th1;

	gtthread_init(1000);

	printf("main thread\n");

	int ret = gtthread_create(&th1, worker, (void*)g_str);

	for(;;);

}
